<%--
    Document   : index
    Created on : Oct 25, 2009, 10:09:20 PM
    Author     : Phong
--%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
<%@ taglib uri="http://ajaxtags.org/tags/ajax" prefix="ajax" %>
<%@page import="java.sql.*" %>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <jsp:include page="header.jsp" />
        <link rel="stylesheet" href="css/style.css" />
        <link rel="stylesheet" href="css/front.css"  />


        <title>Themes</title>
    </head>


    <body bgcolor="#154978">
        <table width="1024" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" align="center">
            <!--DWLayoutTable-->
            <tr>
                <td width="1024" height="157" valign="top" background="images/Banner.jpg">

                </td>
            </tr>
            <tr>
                <td height="463" valign="top">
                    <table width="100%" border="0" cellpadding="2" cellspacing="2">
                        <!--DWLayoutTable-->
                        <tr>
                            <td height="39" colspan="3" valign="top" background="images/button/bg_login.gif">
<%@include file="include/loginBar.jsp" %>        
</td>
            </tr>
            <tr>
                <td width="140" rowspan="2" valign="top">
                    <jsp:include page="menu_left.jsp" />
                </td>
                <td width="631" rowspan="2" align="left"  valign="top" bgcolor="#CCCCCC">
                    <jsp:useBean id="ObjectSub" class="DAO.DAOTest" scope="page" />
                    <ajax:anchors target="time">
                        <ul>
                            <%
                        int id = Integer.parseInt(request.getParameter("id"));
                        ResultSet rs = ObjectSub.selectSubID(id);
                        while (rs.next()) {

                            %>
                            <li><a href="testQuestion.jsp?subID=<%=rs.getString("subID")%>" ><%=rs.getString("subName")%></a></li>
                            <% }%>
                        </ul>
                    </ajax:anchors>
                    <span id="time"></span>
                </td>
                <td width="240" height="320" align="center" valign="middle" bgcolor="#999999">asdas</td>
            </tr>
            <tr>
                <td height="215" align="center" valign="middle" bgcolor="#CCCCCC">Top 5 </td>
            </tr>
        </table>
    </td>
</tr>
</table>
</body>
</html>
